<%@page import="com.AAL.Model.TypeOfAuto"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<div class="module_menu">
<div class="moduleTopBg">
<div class="moduleBottomBg">
<div class="width">
<h3><span>Nhóm sản phẩm</span></h3>
<div class="boxIndent">
<div class="width">
<s:if test="lstTypeOfAutos!=null">
<s:iterator value="lstTypeOfAutos">
	<a title="<s:property value='typeOfAutoName'/>" style="display: block;"
		class="mainlevel"
		href="viewLstTypeOfWheel?toaid=<s:property value='typeOfAutoID'/>"><s:property
		value='typeOfAutoName' /></a>
</s:iterator>
</s:if>
<s:if test="lstTypeOfAutos==null">
<%
	List<TypeOfAuto> lstTypeOfAutos = null;
	if (session.getAttribute("lstTypeOfAutosForIndex") != null)
		lstTypeOfAutos = (List<TypeOfAuto>) session
				.getAttribute("lstTypeOfAutosForIndex");

	if (lstTypeOfAutos != null) {
		for (TypeOfAuto item : lstTypeOfAutos) {
%> <a title="<%=item.getTypeOfAutoName()%>" style="display: block;"
	class="mainlevel"
	href="viewLstTypeOfWheel?toaid=<%=item.getTypeOfAutoID()%>"> <%=item.getTypeOfAutoName()%></a>

<%
	}
	}
%>
</s:if>  
<!-- 
<a title="Car &amp; minivan tires"
	style="display: block;" class="mainlevel" href="viewProductByTypeOfCar.jsp"> Nhóm xe du lịch</a> 
<a title="Suv &amp; Trucks tires" style="display: block;"
	class="mainlevel" href="#">Nhóm xe thể thao</a>
<a title="Sport tires" style="display: block;" class="mainlevel" href="#">Nhóm xe tải</a>
 --></div>
</div>
</div>
</div>
</div>
</div>